// 引入vue
import Vue from 'vue';
import App from './App.vue';
// 引入前端框架 ant-design-vue与样式antd.css
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
// 引入store
import store from './store'
// router
import router from './router'
// 关闭Vue的生产提示
Vue.config.productionTip = false

Vue.use(Antd);
new Vue({
  render: h => h(App),
  store,
  router,
  beforeCreate(){
    Vue.prototype.$bus = this;// 安装全局事件总线，$bus就相当于，当前应用的vm
  }
}).$mount('#app')
